package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.Salary;

/**
 * 员工薪资Mapper接口
 * 
 * @author 503
 * @date 2021-05-04
 */
public interface SalaryMapper 
{
    /**
     * 查询员工薪资
     * 
     * @param salaryId 员工薪资ID
     * @return 员工薪资
     */
    public Salary selectSalaryById(Long salaryId);

    /**
     * 查询员工薪资列表
     * 
     * @param salary 员工薪资
     * @return 员工薪资集合
     */
    public List<Salary> selectSalaryList(Salary salary);

    /**
     * 新增员工薪资
     * 
     * @param salary 员工薪资
     * @return 结果
     */
    public int insertSalary(Salary salary);

    /**
     * 修改员工薪资
     * 
     * @param salary 员工薪资
     * @return 结果
     */
    public int updateSalary(Salary salary);

    /**
     * 删除员工薪资
     * 
     * @param salaryId 员工薪资ID
     * @return 结果
     */
    public int deleteSalaryById(Long salaryId);

    /**
     * 批量删除员工薪资
     * 
     * @param salaryIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteSalaryByIds(String[] salaryIds);
}
